import request from '@/utils/request'

//在离线
export function HKonline(query) {
  return request({
    url: '/ptwn/video/MHKonline/onlineStatus',
    method: 'post',
    params: query
  })
}

// 摄校时
export function HKtiming(query) {
  return request({
    url: '/ptwn/video/MHKTiming/synTime',
    method: 'post',
    params: query
  })
}

//摄像头水印
export function HKwatermark(query) {
  return request({
    url: '/ptwn/video/MHKwatermark/fixWater',
    method: 'post',
    params: query
  })
}

//摄像头开始录像
export function HKstartVideo(query) {
  return request({
    url: '/ptwn/video/MHKhandVideo/startVideo',
    method: 'post',
    params: query
  })
}

//摄像头停止录像
export function HKendVideo() {
  return request({
    url: '/ptwn/video/MHKhandVideo/stopVideo',
    method: 'post',
  })
}

//拍照
export function HKpicture(query) {
  return request({
    url: '/ptwn/video/MHKsnapPicture/synPicture',
    method: 'post',
    params: query
  })
}

/////////////////////点击事件//////////////////////////////////////////
//云台向上 开始
export function HKptzUp(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlUpStart',
    method: 'post',
    params: query
  })
}

//云台向上 停止
export function HKptzUpEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlUpEnd',
    method: 'post',
    params:query
  })
}

//云台向下 开始
export function HKptzDown(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlDownStart',
    method: 'post',
    params: query
  })
}

//云台向下 停止
export function HKptzDownEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlDownEnd',
    method: 'post',
    params:query
  })
}

//云台向左  开始
export function HKptzLeft(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlLeftStart',
    method: 'post',
    params: query
  })
}

//云台向左  停止
export function HKptzLeftEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlLeftEnd',
    method: 'post',
    params:query
  })
}

//云台向右  开始
export function HKptzRight(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlRightStart',
    method: 'post',
    params: query
  })
}

//云台向右 停止
export function HKptzRightEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlRightEnd',
    method: 'post',
    params:query
  })
}

//云台向左上  开始
export function HKptzLeftUp(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlLeftUpStart',
    method: 'post',
    params: query
  })
}

//云台向左上  停止
export function HKptzLeftUpEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlLeftUpEnd',
    method: 'post',
    params:query
  })
}

//云台向右上 开始
export function HKptzRightUp(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlRightUpStart',
    method: 'post',
    params: query
  })
}

//云台向右上  停止
export function HKptzRightUpEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlRightUpEnd',
    method: 'post',
    params:query
  })
}

//云台向左下  开始
export function HKptzLeftDown(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlLeftDownStart',
    method: 'post',
    params: query
  })
}
//云台向左下  停止
export function HKptzLeftDownEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlLeftDownEnd',
    method: 'post',
    params:query
  })
}

//云台向右下 开始
export function HKptzRightDown(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlRightDownStart',
    method: 'post',
    params: query
  })
}

//云台向右下 停止
export function HKptzRightDownEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlRightDownEnd',
    method: 'post',
    params:query
  })
}

//变倍+ 开始
export function HKzoomAdd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlZoomAddStart',
    method: 'post',
    params: query
  })
}
//变倍+ 结束
export function HKzoomAddEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlZoomAddEnd',
    method: 'post',
    params:query
  })
}
//变倍- 开始
export function HKzoomDec(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlZoomDecStart',
    method: 'post',
    params: query
  })
}
//变倍-结束
export function HKzoomDecEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlZoomDecEnd',
    method: 'post',
    params:query
  })
}

//变焦+开始
export function HKfocusAdd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlFocusAddStart',
    method: 'post',
    params: query
  })
}
//变焦+结束
export function HKfocusAddEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlFocusAddEnd',
    method: 'post',
    params:query
  })
}

//变焦-开始
export function HKfocusDec(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlFocusDecStart',
    method: 'post',
    params: query
  })
}
//变焦-结束
export function HKfocusDecEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlFocusDecEnd',
    method: 'post',
    params:query
  })
}

//光圈+开始
export function HKirisAdd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlIrisAddStart',
    method: 'post',
    params: query
  })
}
//光圈+结束
export function HKirisAddEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlIrisAddEnd',
    method: 'post',
    params:query
  })
}

//光圈-开始
export function HKirisDec(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlIrisDecStart',
    method: 'post',
    params: query
  })
}
//光圈-结束
export function HKirisDecEnd(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlIrisDecEnd',
    method: 'post',
    params:query
  })
}






////////////////////////长按事件////////////////////////////
//云台向上 开始
export function HKptzUp1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlUpStart1',
    method: 'post',
    params: query
  })
}

//云台向上 停止
export function HKptzUpEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlUpEnd1',
    method: 'post',
    params:query
  })
}

//云台向下 开始
export function HKptzDown1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlDownStart1',
    method: 'post',
    params: query
  })
}

//云台向下 停止
export function HKptzDownEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlDownEnd1',
    method: 'post',
    params:query
  })
}

//云台向左  开始
export function HKptzLeft1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlLeftStart1',
    method: 'post',
    params: query
  })
}

//云台向左  停止
export function HKptzLeftEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlLeftEnd1',
    method: 'post',
    params:query
  })
}

//云台向右  开始
export function HKptzRight1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlRightStart1',
    method: 'post',
    params: query
  })
}

//云台向右 停止
export function HKptzRightEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlRightEnd1',
    method: 'post',
    params:query
  })
}

//云台向左上  开始
export function HKptzLeftUp1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlLeftUpStart1',
    method: 'post',
    params: query
  })
}

//云台向左上  停止
export function HKptzLeftUpEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlLeftUpEnd1',
    method: 'post',
    params:query
  })
}

//云台向右上 开始
export function HKptzRightUp1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlRightUpStart1',
    method: 'post',
    params: query
  })
}

//云台向右上  停止
export function HKptzRightUpEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlRightUpEnd1',
    method: 'post',
    params:query
  })
}

//云台向左下  开始
export function HKptzLeftDown1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlLeftDownStart1',
    method: 'post',
    params: query
  })
}
//云台向左下  停止
export function HKptzLeftDownEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlLeftDownEnd1',
    method: 'post',
    params:query
  })
}

//云台向右下 开始
export function HKptzRightDown1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlRightDownStart1',
    method: 'post',
    params: query
  })
}

//云台向右下 停止
export function HKptzRightDownEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlRightDownEnd1',
    method: 'post',
    params:query
  })
}

//变倍+ 开始
export function HKzoomAdd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlZoomAddStart1',
    method: 'post',
    params: query
  })
}
//变倍+ 结束
export function HKzoomAddEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlZoomAddEnd1',
    method: 'post',
    params:query
  })
}
//变倍- 开始
export function HKzoomDec1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlZoomDecStart1',
    method: 'post',
    params: query
  })
}
//变倍-结束
export function HKzoomDecEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlZoomDecEnd1',
    method: 'post',
    params:query
  })
}

//变焦+开始
export function HKfocusAdd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlFocusAddStart1',
    method: 'post',
    params: query
  })
}
//变焦+结束
export function HKfocusAddEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlFocusAddEnd1',
    method: 'post',
    params:query
  })
}

//变焦-开始
export function HKfocusDec1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlFocusDecStart1',
    method: 'post',
    params: query
  })
}
//变焦-结束
export function HKfocusDecEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlFocusDecEnd1',
    method: 'post',
    params:query
  })
}

//光圈+开始
export function HKirisAdd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlIrisAddStart1',
    method: 'post',
    params: query
  })
}
//光圈+结束
export function HKirisAddEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlIrisAddEnd1',
    method: 'post',
    params:query
  })
}

//光圈-开始
export function HKirisDec1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlIrisDecStart1',
    method: 'post',
    params: query
  })
}
//光圈-结束
export function HKirisDecEnd1(query) {
  return request({
    url: '/ptwn/video/MHKptz/ptzControlIrisDecEnd1',
    method: 'post',
    params:query
  })
}


